<?php
function validate_array_0($array){$res = true; foreach ($array as $value){$res = $res && (is_int($value));} return $res;}

function validate_array_1($array){$res = true; foreach ($array as $value){$res = $res && ((is_array($value))&&validate_array_0($value));} return $res;}

function validate_array_2($array){$res = true; foreach ($array as $value){$res = $res && ((is_array($value))&&validate_array_1($value));} return $res;}

function validate_array_3($array){$res = true; foreach ($array as $value){$res = $res && ((is_array($value))&&validate_array_2($value));} return $res;}

function validate_array_4($array){$res = true; foreach ($array as $value){$res = $res && ((is_array($value))&&validate_array_3($value));} return $res;}

function validate_array_5($array){$res = true; foreach ($array as $value){$res = $res && ((is_array($value))&&validate_array_4($value));} return $res;}

function validate_array_6($array){$res = true; foreach ($array as $value){$res = $res && ((is_array($value))&&validate_array_5($value));} return $res;}

function validate_array_7($array){$res = true; foreach ($array as $value){$res = $res && ((is_array($value))&&validate_array_6($value));} return $res;}

function validate_Class1($obj){return (($obj->integer == null ? $obj->integer = 10 || true : false) || (is_int($obj->integer)&&($obj->integer <= 123)))&&((c2 == null) || validate_C2($obj->c2));}

function validate_C2($obj){return ((is_array($obj->r2))&&(sizeof($obj->r2) <= 34234)&&validate_array_7($obj->r2));}

function validate_Service_method1($params){return validate_Class1($params[0])&&(is_string($params[1])&&(preg_match('/[a-zA-Z]+?/', $params[1]) != 0));}

function validate_Service_whatever($params){return true;}

?>